{if $agentList}
	<div class="agent clear">
		<h2>Zoznam agentov</h2>
	</div>
	{foreach from=$agentList item='agent'}
		<div class="agent clear">
			{if $agent.image}
				<a href="{$agent.url}" title="{$agent.name}">{image src=$agent.imagePath width="107" height="123" alt=$agent.name}</a>
			{/if}
			<h4><a href="{$agent.url}" title="{$agent.name}">{$agent.name}</a></h4>
			<label>
				{if $agent.phone_office}<span><strong>Kancelária:</strong></span> {$agent.phone_office} <br/>{/if}
				{if $agent.mobile}<span><strong>Mobil:</strong></span> {$agent.mobile} <br/>{/if}
				{if $agent.fax}<span><strong>Email:</strong></span> {$agent.fax}{/if}
			</label>
		</div>
	{/foreach}

	{if $pageCount > 1}
		<!--NAVIGATION-->
		<div class="pagination clear">
			<ul>
				<li><span>Strana {$page} / {$pageCount}</span></li>
				{foreach from=$pages item='pagerPage'}
					<li><a href="{$actualState.id}/strana-{$pagerPage}.html"{if $page == $pagerPage} class="active"{/if} title="Strana {$pagerPage}">{$pagerPage}</a></li>
				{/foreach}
			</ul>
		</div>
	{/if}
{/if}